home *** CD-ROM | disk | FTP | other *** search
-
-
-
- wwwwccccssssttttoooodddd((((3333SSSS)))) wwwwccccssssttttoooodddd((((3333SSSS))))
-
-
-
- NNNNAAAAMMMMEEEE
- _wwww_cccc_ssss_tttt_oooo_dddd - convert wide-character string to double-precision number
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_wwww_cccc_hhhh_aaaa_rrrr_...._hhhh_>>>>
-
- _dddd_oooo_uuuu_bbbb_llll_eeee _wwww_cccc_ssss_tttt_oooo_dddd _((((_cccc_oooo_nnnn_ssss_tttt _wwww_cccc_hhhh_aaaa_rrrr______tttt _****_nnnn_pppp_tttt_rrrr_,,,, _wwww_cccc_hhhh_aaaa_rrrr______tttt _****_****_eeee_nnnn_dddd_pppp_tttt_rrrr_))))_;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _wwww_cccc_ssss_tttt_oooo_dddd returns as a double-precision floating-point number the value
- represented by the wide-character string pointed to by _n_p_t_r. This
- function scans the string up to the first unrecognized character.
-
- _wwww_cccc_ssss_tttt_oooo_dddd recognizes an optional string of ``white-space'' characters [as
- defined by _iiii_ssss_wwww_ssss_pppp_aaaa_cccc_eeee in _wwww_cccc_tttt_yyyy_pppp_eeee(3S)], then an optional sign, then a string
- of digits optionally containing a decimal-point character [as specified
- by the current locale; see _ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee(3C)], then an optional exponent part
- including an _eeee or _EEEE followed by an optional sign, followed by an integer.
-
- If the value of _e_n_d_p_t_r is not _((((_wwww_cccc_hhhh_aaaa_rrrr______tttt _****_****_))))_NNNN_UUUU_LLLL_LLLL, a pointer to the
- character terminating the scan is returned in the location pointed to by
- _e_n_d_p_t_r. If no number can be formed, *_e_n_d_p_t_r is set to _n_p_t_r, and zero is
- returned.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _wwww_cccc_tttt_yyyy_pppp_eeee(3S),
-
- NNNNOOOOTTTTEEEE
- Precision may be silently lost if the number of digits comprising the
- floating-point number (i.e., not including the exponent) exceeds the
- value of the constant DBL_DIG (LDBL_DIG) in _<<<<_ffff_llll_oooo_aaaa_tttt_...._hhhh_>>>>.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- If the correct value would cause overflow, _++++_////_----_HHHH_UUUU_GGGG_EEEE______VVVV_AAAA_LLLL is returned
- (according to the sign of the value), and _eeee_rrrr_rrrr_nnnn_oooo is set to _EEEE_RRRR_AAAA_NNNN_GGGG_EEEE.
-
- If the correct value would cause underflow, zero is returned and _eeee_rrrr_rrrr_nnnn_oooo is
- set to _EEEE_RRRR_AAAA_NNNN_GGGG_EEEE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-